package com.itheima.oop.d5_javabean;

/**
 * 测试类
 */
public class Test {
    public static void main(String[] args) {
        //1.创建学生对象
        Student s1 = new Student();
        s1.setName("卢宇浩");
        s1.setScore(100);
        System.out.println("name=" + s1.getName() +
                ",score=" + s1.getScore());
        //2.操作类对象
        StudentOperator s2 = new StudentOperator(s1);
        s2.printPass();

    }
}
